package com.sui.bigdata.sml.web.service;

import com.sui.bigdata.sml.web.dto.ExperimentDTO;
import com.sui.bigdata.sml.web.dto.NodeGroupDTO;

import java.util.List;

/**
 * @author songhaicheng
 * @date 2019/11/7 15:00
 * @description
 * @reviewer
 */
public interface NodeGroupService {

    Long add(NodeGroupDTO dto) ;

    NodeGroupDTO get(Long id);

    Boolean update(NodeGroupDTO dto) ;

    Boolean delete(Long id) ;

    List<NodeGroupDTO> listByExperiment(ExperimentDTO experimentDto);

    List<NodeGroupDTO> listOngoingsByExperiment(ExperimentDTO experimentDto);

}
